package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.FxDailyBean;

/**
* 描述：获取外汇日线行情
* @author: codesmith
**/
@Data
@TableName("fx_daily")
public class FxDailyEntity implements FxDailyBean {
    
    /*
    * 外汇代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`bid_open`") protected Double bidOpen;

    @TableField("`bid_close`") protected Double bidClose;

    @TableField("`bid_high`") protected Double bidHigh;

    @TableField("`bid_low`") protected Double bidLow;

    @TableField("`ask_open`") protected Double askOpen;

    @TableField("`ask_close`") protected Double askClose;

    @TableField("`ask_high`") protected Double askHigh;

    @TableField("`ask_low`") protected Double askLow;

    @TableField("`tick_qty`") protected Integer tickQty;

    @TableField("`exchange`") protected String exchange;
}